package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

@FieldTypeAnnotation(tableName = "t_l_ck_chefduel2_pick_food", desc = "厨神对决2-挑菜记录", autoSave = true, uploadCk = true, dataUpload = true, eventName = "cook_twocho")
public class LogChefDuel2PickFood extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "活动id", isIndex = true, dataAttribute = "activityid")
    private int activityId;
    @FieldTypeAnnotation(desc = "用户id", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "合成出的主菜", dataAttribute = "item_id")
    private int foodId;
    @FieldTypeAnnotation(desc = "消耗数量", dataAttribute = "seagod_usepow")
    private int costNum;
    @FieldTypeAnnotation(desc = "奖励", dataAttribute = "item_get")
    private String reward;
    @FieldTypeAnnotation(desc = "是否和了四次了，四次表示合完了", dataAttribute = "is_special")
    private int isFinish;
    @FieldTypeAnnotation(desc = "阵营", dataAttribute = "belong_id")
    private int campId;

    public LogChefDuel2PickFood(int activityId, long userId, int foodId, int costNum, String reward, int isFinish, int campId) {
        this.activityId = activityId;
        this.userId = userId;
        this.foodId = foodId;
        this.costNum = costNum;
        this.reward = reward;
        this.isFinish = isFinish;
        this.campId = campId;
    }

    public long getUserId() {
        return userId;
    }

}
